<!--${_TPL.put('titles',('相册'))}-->
<!--$embed{"header.htm"}-->

<!--$if{ space['self']}-->
<div class="searchbar">
<form method="post" action="network.html">
	<input name="key" value="" size="26" class="t_input" type="text">
	<input name="searchsubmit" value="搜索相册" class="submit" type="submit">
	<input type="hidden" name="searchmode" value="1" />
	<!--$if{ view=='me'}-->
	<input type="hidden" name="username" value="${space['username']}" />
	<!--$end-->
	<input type="hidden" name="ac" value="album" />
</form>
</div>
<h2 class="title"><img src="image/app/album.gif">相册</h2>
<div class="tabs_header">
	<ul class="tabs">
		<!--$if{ space['friendnum'] > 0}--><li${actives['we']}><a href="space.html?uid=${space['uid']}&do=${do}"><span>好友最新相册</span></a></li><!--$end-->
		<li${actives['me']}><a href="space.html?uid=${space['uid']}&do=${do}&view=me"><span>我的相册</span></a></li>
		<li${actives['all']}><a href="space.html?uid=${space['uid']}&do=${do}&view=all"><span>大家的相册</span></a></li>
		<li class="null"><a href="cp.html?ac=upload">上传新图片</a></li>
	</ul>
</div>
<!--$else-->
<!--${_TPL.put("spacetitle", "相册")}-->
<!--$embed{"space_menu.htm"}-->
<!--$end-->


<!--$if{count && count > 0}-->
<div class="album_list">
	<table cellspacing="6" cellpadding="0">
		<tr>
		<!--$for{value:list}-->
			<td width="50%" class="album">
				<table cellspacing="0" cellpadding="0">
					<tr>
						<td class="image"><a href="space.html?uid=${value['uid']}&do=${do}&id=${value['albumid']}"><img src="${value['pic']}" alt="${value['albumname']}" /></a></td>
						<td>
						<!--$if{value['friend'] > 0}-->
							<span class="r_option locked gray">
							<a href="${theurl}&friend=${value['friend']}" class="gray">
							<!--$if{ value['friend'] == 1}-->仅好友可见
							<!--$elseif{ value['friend'] == 2}-->指定好友可见
							<!--$elseif{ value['friend'] == 3}-->仅自己可见
							<!--$elseif{ value['friend'] == 4}-->凭密码可见<!--$end-->
							</a>
							</span>
						<!--$end-->
							<h6><a href="space.html?uid=${value['uid']}&do=${do}&id=${value['albumid']}"><!--$if{ value['albumname']}-->${value['albumname']}<!--$else-->默认相册<!--$end--></a></h6>
							<!--$if{ space['friend']}--><p><a href="space.html?uid=${value['uid']}">${_SN[value['uid']]}</a></p><!--$end-->
							<p class="gray">
								<!--$if{ value['picnum'] > 0}-->${value['picnum']} 张照片<br><!--$end-->
								更新: <!--${&com.heaven.web.utils.Common.date('yyyy-MM-dd HH:mm', value['updatetime'], 1)}-->
							</p>
							<!--$if{ value['uid']==_SGLOBAL['supe_uid']}--><p><a href="cp.html?ac=album&op=edit&albumid=${value['albumid']}">管理相册</a><span class="pipe">|</span><a href="cp.html?ac=upload&albumid=${value['albumid']}">上传图片</a></p><!--$end-->
						</td>
					</tr>
				</table>
			</td>
			<!--$if{for.index%2==1}--></tr><tr><!--$end-->
		<!--$end-->
		<tr>
	</table>
</div>

<!--$if{ pricount && pricount > 0}-->
<div class="notice" style="margin-top:10px;">本页有 ${pricount} 个相册因作者的隐私设置而隐藏</div>
<!--$end-->

<div class="page">${multi}</div>
<!--$else-->
<div class="c_form">没有可浏览的相册。</div>
<!--$end-->

<!--$embed{"footer.htm"}-->